package com.kaishengit.service;

import java.util.List;
import org.springframework.transaction.annotation.Transactional;
import com.kaishengit.dao.UserDao;
import com.kaishengit.pojo.User;

@Transactional
public class UserService {

	public UserDao userdao;

	public void setUserdao(UserDao userdao) {
		this.userdao = userdao;
	}
	
	public List<User> findAll(){
		return userdao.findAll();
	}
}
